﻿#ifndef WORK_H
#define WORK_H

#include "State.h"
#include <memory>
using namespace std;
class Work
{
private:
    int m_hour;
    bool m_finish;
    shared_ptr<State> m_current;
public:
    Work();
    void WriteProgram();
    int getHour() const;
    void setHour(int hour);
    bool getFinish() const;
    void setFinish(bool finish);
    const shared_ptr<State> &getCurrent() const;
    void setCurrent(const shared_ptr<State> &current);
};

#endif // WORK_H
